﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Form, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "ScriptType"))

	_DB:AddCodeHelp("OnEndResize", [[]], [[OnEndResize()]])
	_DB:AddCodeHelp("OnBeginResize", [[]], [[OnBeginResize()]])
	_DB:AddCodeHelp("OnEndMove", [[]], [[OnEndMove()]])
	_DB:AddCodeHelp("OnBeginMove", [[]], [[OnBeginMove()]])
	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Form, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Function"))

	_DB:AddCodeHelp("SetBorderTexture", [=[This function is not yet documented]=], [=[SetBorderTexture()]=])
	_DB:AddCodeHelp("SetTitleBarHeight", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetContentPane", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetMessage", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetBackColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetMessage", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetBackTexture", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetBorderWidth", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetCaption", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetTitleBarAlign", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetBorderColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetBorderTexture", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetCaption", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetBorderStyle", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetHasCloseButton", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetHasCloseButton", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetBackColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetFontColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetBackTexture", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetBorderWidth", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetFontColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetTitleBarAlign", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetBorderColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetTitleBarColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetFontObject", [=[Sets the `Font` object from which the font instance's properties are inherited]=], [=[SetFontObject("name")]=])
	_DB:AddCodeHelp("GetBorderStyle", [=[]=], [=[]=])
	_DB:AddCodeHelp("SetHasTitleBar", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetFontObject", [=[Returns the `Font` object from which the font instance's properties are inherited]=], [=[GetFontObject()]=])
	_DB:AddCodeHelp("GetTitleBarHeight", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetTitleBarColor", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetHasTitleBar", [=[]=], [=[]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Form, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Property"))

	_DB:AddCodeHelp("FontObject", [[]], IGAS:GetPropertyType("Object"))
	_DB:AddCodeHelp("FontColor", [[]], IGAS:GetPropertyType("Color"))
	_DB:AddCodeHelp("BackColor", [[]], IGAS:GetPropertyType("Color"))
	_DB:AddCodeHelp("TitleBarAlign", [[]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("HasCloseButton", [[]], IGAS:GetPropertyType("boolean"))
	_DB:AddCodeHelp("BorderWidth", [[]], IGAS:GetPropertyType("number"))
	_DB:AddCodeHelp("Caption", [[]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("Message", [[]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("TitleBarHeight", [[]], IGAS:GetPropertyType("number"))
	_DB:AddCodeHelp("BorderStyle", [[]], IGAS:GetPropertyType("BorderStyle"))
	_DB:AddCodeHelp("BorderColor", [[]], IGAS:GetPropertyType("Color"))
	_DB:AddCodeHelp("BackTexture", [[]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("TitleBarColor", [[]], IGAS:GetPropertyType("Color"))
	_DB:AddCodeHelp("BorderTexture", [[]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("HasTitleBar", [[]], IGAS:GetPropertyType("boolean"))
end
